package com.hanrui.android.model;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.hanrui.android.adapter.ExpandableItemAdapter;

/**
 * Created by Administrator on 2018/6/26.
 */

public class ExpandableLevel extends AbstractExpandableItem<ExpandableItem> implements MultiItemEntity {

    public String title;

    public ExpandableLevel(String title) {
        this.title = title;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_0;
    }
}
